<template>
  <div>
    <component
      v-for="(item, index) in comps"
      :key="index"
      :is="item"
    ></component>
  </div>
</template>

<script>
export default {
  name: "t-left",
  components: {
    overview: () => import("./Tleft/overview"),
    eventOverview: () => import("./Tleft/eventOverview"),
    eventCenter: () => import("./Tleft/eventCenter"),
  },
  data() {
    return {
      comps: [],
    };
  },
  mounted() {
    this.comps = this.$store.state.lpage;
  },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>
